package com.atguigu.gulimall.product.vo;

import com.atguigu.gulimall.product.entity.SkuImagesEntity;
import com.atguigu.gulimall.product.entity.SkuInfoEntity;
import com.atguigu.gulimall.product.entity.SpuInfoDescEntity;
import lombok.Data;

import java.util.List;

/**
 * Copyright (c) 2019-2029 星大陆 All Rights Reserved
 *
 * Project: gulimall
 * Package: com.atguigu.gulimall.product.vo
 * Version: V 1.0
 * 商品详情信息，包含商品基本属性，图片信息，分类信息，描述信息，规格
 *
 * Created by guoxiaolong on 2020/08/07 8:42
 */
@Data
public class SkuItemVo {

    //1. SKU基本信息获取，pms_sku_info
    SkuInfoEntity info;

    boolean hasStock = true;

    //2.SKU的图片信息获取，pms_sku_images
    List<SkuImagesEntity> images;


    //3. 获取SPU销售信属性组合
    List<SkuItemSaleAttrVo> saleAttr;

    //4. 获取SPU的介绍 pms_spu_info_desc
    SpuInfoDescEntity desp;

    //5. 获取SPU的规格参数信息
    List<SpuItemAttrGroupVo> groupAttrs;

    //当前商品的秒杀优惠信息
    SeckillInfoVo seckillInfo;
}
